Learn R Programming

crunch (version 1.20.0)

[,CrunchExpr,CrunchLogicalExpr,ANY-method: "Subset" a Variable

Description

These methods subset variables by creating Expressions, which can be composed and evaluated as needed.

Usage

# S4 method for CrunchExpr,CrunchLogicalExpr,ANY
[(x, i, j, ..., drop = FALSE)

# S4 method for CrunchExpr,logical,ANY [(x, i, j, ..., drop = TRUE)

# S4 method for CrunchExpr,numeric,ANY [(x, i, j, ..., drop = TRUE)

# S4 method for CrunchVariable,CrunchExpr,ANY [(x, i, j, ..., drop = FALSE)

# S4 method for CrunchVariable,numeric,ANY [(x, i, j, ..., drop = TRUE)

# S4 method for CrunchVariable,logical,ANY [(x, i, j, ..., drop = TRUE)

Arguments

x

a Variable

i

a CrunchExpr, logical, or numeric

j

Invalid

...

additional arguments, ignored

drop

Invalid

Value

a CrunchExpr containing references to the variable x and the filter logic contained in i